package com.zzyl.nursing.controller.member;

import com.zzyl.common.core.controller.BaseController;
import com.zzyl.common.core.domain.AjaxResult;
import com.zzyl.nursing.service.IUserService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description UserController
 * @Author anru
 * @Date 2025-02-28 21:37
 */
@RestController
@RequestMapping("/member/user/queryServiceProperties")
@Api(tags = "用户服务接口")
public class UserController extends BaseController {
    @Autowired
    private IUserService userService;

    /**
     * 查询健康数据
     */
    @GetMapping("/{iotId}")
    @ApiOperation(value = "查询健康数据")
    public AjaxResult queryServiceProperties(@PathVariable String iotId) {
        return userService.queryServiceProperties(iotId);
    }
}
